home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / moreappleevents / privateconditionals.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  2.9 KB  |  99 lines

  1. /*
  2.     File:        PrivateConditionals.h
  3.  
  4.     Contains:    Conditional macro definitions that are used to setup the 
  5.                 environment for the project being built.
  6.                 Add any conditionals which are appropriate for your project.
  7.  
  8.     Written by: Andy Bachorski    
  9.  
  10.     Copyright:    Copyright © 1996-1999 by Apple Computer, Inc., All Rights Reserved.
  11.  
  12.                 You may incorporate this Apple sample source code into your program(s) without
  13.                 restriction. This Apple sample source code has been provided "AS IS" and the
  14.                 responsibility for its operation is yours. You are not permitted to redistribute
  15.                 this Apple sample source code as "Apple sample source code" after having made
  16.                 changes. If you're going to re-distribute the source, we require that you make
  17.                 it clear in the source that the code was descended from Apple sample source
  18.                 code, but that you've made changes.
  19.  
  20.     Change History (most recent first):
  21.                 7/21/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  22.                 
  23.  
  24. *//********************************************************************************
  25.  
  26.     File:        PrivateConditionals.h
  27.  
  28.     Contains:    
  29.     File Ownership:    Apple Macintosh Developer Technical Support
  30.     
  31.     DRI:            
  32.     
  33.     Technology:        Project Control
  34.  
  35.     Package:        MoreAppleEvents
  36.     
  37.     Version:        1.0
  38.  
  39.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  40.  
  41.  
  42.     ========================================================================
  43.     You may incorporate this sample code into your applications without
  44.     restriction, though the sample code has been provided “AS IS” and the
  45.     responsibility for its operation is 100% yours.  However, what you are
  46.     not permitted to do is to redistribute the source as “DSC Sample Code”
  47.     after having made changes. If you’re going to re-distribute the source,
  48.     we require that you make it clear in the source that the code was
  49.     descended from Apple Sample Code, but that you’ve made changes.
  50.     ========================================================================
  51.  
  52.     Writers:
  53.  
  54.         (afb)    Andy Bachorski
  55.  
  56.     Change History (most recent first):
  57.  
  58.         <1>        12/16/98    afb        First pass
  59.         
  60. ********************************************************************************/
  61.  
  62. #if PRAGMA_ONCE
  63.     #pragma once
  64. #endif
  65.  
  66. #ifndef _PRIVATE_CONDITIONALS_
  67. #define _PRIVATE_CONDITIONALS_
  68.  
  69. /*
  70.  *    To allow the use of ToolBox calls which have now become obsolete on PowerPC, but
  71.  *    which are still needed for System 6 applications, we need to #define OBSOLETE.  If
  72.  *    Since we won't be using these calls, define this to 0 (false).
  73.  */
  74.  
  75. #define OBSOLETE    0
  76.  
  77. /*
  78.  *    Define the following conditionals appropriately so the project is compiled
  79.  *    using only the latest routines.
  80.  */
  81.  
  82. #define SystemSevenOrLater            1
  83. #define OLDROUTINENAMES                0
  84. #define OLDROUTINELOCATIONS            0
  85. #define HANDLE_ALL_REQUIRED_EVENTS    0
  86. #define OBSOLETE                    0
  87.  
  88.  
  89. /*
  90.  *    For this project we use the following macro to
  91.  *    turn on or off the use of precompiled headers.
  92.  */
  93.  
  94. #define USE_PRECOMPILED_HEADERS    FALSE
  95.  
  96.  
  97.  
  98. #endif // _PRIVATE_CONDITIONALS_
  99.